package com.zh.mall.service;

import com.zh.mall.mbg.model.UmsAdmin;

import java.util.List;

/**
 * @author ZhengHao
 * Created At 2022/7/15.
 **/
public interface UmsService{
     List<UmsAdmin> listAllUmsAdmin();


    int craeteUmsAdmin(UmsAdmin umsAdmin);

    int updateUmsAdmin(Long id, UmsAdmin umsAdmin);

    int deleteUmsAdmin(Long id);

    List<UmsAdmin> listUmsAdmin(Integer pageNum, Integer pageSize);

    UmsAdmin getUmsAdmin(Long id);
}